package com.wqr.pojo;

import java.io.Serializable;
import java.util.Date;

public class Login implements Serializable {
    /**
     * 登录信息序号
     */
    private Integer loginId;

    /**
     * 登录信息名称
     */
    private String loginName;

    /**
     * 密码
     */
    private String password;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 注册时间
     */
    private Date registerTime;
    /**
     * 注册时间
     */
    private Date registerTimeBefore;

    /**
     * 注册时间
     */
    private Date registerTimeEnd;


    /**
     * 状态序号
     */
    private Integer userStateId;

    /**
     * 类型序号
     */
    private Integer userTypeId;

    /**
     * 备注
     */
    private String remark;
    /**
     * 备注
     */
    private String userStateName;
    /**
     * 备注
     */
    private String userTypeName;

    private static final long serialVersionUID = 1L;

    public Integer getLoginId() {
        return loginId;
    }

    public void setLoginId(Integer loginId) {
        this.loginId = loginId;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName == null ? null : loginName.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public Date getRegisterTime() {
        return registerTime;
    }

    public void setRegisterTime(Date registerTime) {
        this.registerTime = registerTime;
    }

    public Integer getUserStateId() {
        return userStateId;
    }

    public void setUserStateId(Integer userStateId) {
        this.userStateId = userStateId;
    }

    public Integer getUserTypeId() {
        return userTypeId;
    }

    public void setUserTypeId(Integer userTypeId) {
        this.userTypeId = userTypeId;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public String getUserStateName() {
		return userStateName;
	}

	public void setUserStateName(String userStateName) {
		this.userStateName = userStateName;
	}

	public Date getRegisterTimeBefore() {
		return registerTimeBefore;
	}

	public void setRegisterTimeBefore(Date registerTimeBefore) {
		this.registerTimeBefore = registerTimeBefore;
	}

	public Date getRegisterTimeEnd() {
		return registerTimeEnd;
	}

	public void setRegisterTimeEnd(Date registerTimeEnd) {
		this.registerTimeEnd = registerTimeEnd;
	}

	public String getUserTypeName() {
		return userTypeName;
	}

	public void setUserTypeName(String userTypeName) {
		this.userTypeName = userTypeName;
	}

	@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", loginId=").append(loginId);
        sb.append(", loginName=").append(loginName);
        sb.append(", password=").append(password);
        sb.append(", email=").append(email);
        sb.append(", registerTime=").append(registerTime);
        sb.append(", userStateId=").append(userStateId);
        sb.append(", userTypeId=").append(userTypeId);
        sb.append(", remark=").append(remark);
        sb.append(", userStateName=").append(userStateName);
        sb.append(", userTypeName=").append(userTypeName);
        sb.append(", registerTimeBefore=").append(registerTimeBefore);
        sb.append(", registerTimeEnd=").append(registerTimeEnd);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}